home *** CD-ROM | disk | FTP | other *** search
- Path: news.halcyon.com!usenet
- From: Glen Parker <glenebob@halcyon.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Can't link a .lib file...
- Date: Mon, 01 Apr 1996 19:41:20 -0800
- Organization: Computer Systems Contracting
- Message-ID: <3160A1E0.6D14@halcyon.com>
- References: <315AF5AB.7294@halcyon.com> <315C8508.553B@slaughter.com>
- NNTP-Posting-Host: blv-pm2-ip21.halcyon.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (WinNT; I)
-
- > As I understand your problem, the issue is this:
- >
- > you are trying to import a static lib created in the COFF format. BC++
- > does not do this. You need to use the DLL provided by the vendor, and
- > run implib on that DLL (running implib on a .lib file is useless).
- >
- > If you don't have a DLL, you need to get one; you cannot statically link
- > to a library which uses the COFF object format.
- >
-
- I did try to build an import library from the DLL
- (MAPI32.dll), the one that I found in the System32
- directory. This was the second thing I tried, and
- I got an exception in IMPLIB.exe. Any idea what
- would cause that? It happened on all (about 3 or
- 4) of the 32-bit DLL's I tried, but on none of the
- 16-bit DLL's I tried.
-
- Glen
-
-